package agh.tk.markuptranslation;

public class HtmlAdapter {
	private HtmlAdapter() {
		//Util class
	}
	
	public static String convertToFullHTML(String bodySegment) {
		StringBuilder document = new StringBuilder("<html>\n");
		document.append("<head><title>Markup Translation Output Document</title></head>\n");
		document.append("<body>");
		document.append(bodySegment);
		document.append("</body>\n</html>");
		return document.toString();
	}
}
